package org.jage.student.missevo.solution.migration;

import java.util.Collection;

import org.jage.agent.IAgent;
import org.jage.agent.IAgentEnvironment;
import org.jage.property.ClassPropertyContainer;
import org.jage.property.IPropertiesSet;
import org.jage.query.AgentEnvironmentQuery;


public class AlwaysMigrate extends ClassPropertyContainer implements IShouldMigrate {
	private AgentEnvironmentQuery<IAgent, IAgent> emptyQuery;
	


	@Override
	public AgentEnvironmentQuery<? extends IAgent, ?> query() {
		if (emptyQuery == null) {
			emptyQuery = new AgentEnvironmentQuery<IAgent, IAgent>();
		}
		return emptyQuery;
	}

	@Override
	public boolean decide(Collection<?> queryResult, IAgent flock) {
		// TODO Auto-generated method stub
		return true;
	}

	
}